* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body{
    font-family: "Segoe UI", sans-serif;
    background: #575657;
    color:  #333;
    padding: 20px;
}
.h2{
    text-align: center;
    display: flex;
    padding: 20px;
    margin-bottom: 20px;
}
.container {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(71, 70, 70, 0.1);
}
form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

form input, form select, form button {
  flex: 1 1 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
form button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
form button:hover {
  background-color: #0056b3;
}
.total {
  margin-top: 20px;
  font-size: 1.2rem;
  text-align: center;
}
#expense-list {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}
#expense-list li {
  background: #e9ecef;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid #007bff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5px;
}
#expense-list button {
  background: red;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
}
@media (min-width: 600px) {
  form input, form select {
    flex: 1 1 calc(50% - 10px);
  }

  form button {
    flex: 1 1 100%;
  }
}
